package com.fifth.emp.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @作者：徐志豪
 * @创建时间 2022/9/1 10:02
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("e_emp_info")
@ApiModel(value = "EmpInfo对象", description = "")
public class EmpInfoVo {


    @ApiModelProperty("管理员名字")
    private String ename;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("入职时间")
    private String createtime;

    @TableField(fill = FieldFill.UPDATE)
    @ApiModelProperty("更新时间")
    private String updatetime;

    @ApiModelProperty("电话")
    private String telephone;

    @ApiModelProperty("角色")
    private Integer rid;

    @ApiModelProperty("年龄")
    private Integer age;

    @ApiModelProperty("员工状态 0在职 1离职 2冻结")
    private Integer state;

    @ApiModelProperty("管理员密码")
    private String password;

    @ApiModelProperty("加盐")
    private String salt;

    @ApiModelProperty("管理的地区id")
    private String areaId;

    @ApiModelProperty("操作人")
    private String updatemanid;

}
